description = "When a character rotates to a certain angle, the rotation of next character begins.";
version = "1.00";
bin = "rotation3.bin";
========== Description Part End ==========
========== Parameter Part Begin ==========
$nCharacterCount(EDIT,INT,1,1 10000,"Total Characters ","The total characters using the special effect. The value is defined by the selected characters in the movie, but can not be changed in the property box.");
$nFrameCount(EDIT,INT,3,3 3,"Total Frames","It indicates the total frames of actions. The total frames of the effect is probably more than it.");
$nSpeed(EDIT,INT,3,1 50,"Fading Speed","The speed of character fading.");
$nRotationSpeed(EDIT,INT,10,1 360,"Rotating Speed","The speed of character rotating.");
$nScaleSpeed(EDIT,INT,10,1 100,"Scaling Speed","To control the speed of character scaling.");
$nInterval(EDIT,INT,8,1 1000,"Interval","The time difference between the former character and the latter one beginning to rotate.");
$bMode(LIST,INT,0,"False":0 "True":1,"Mode","False: rotating around the Y axis and scaling; True: rotating around the X axis and scaling");
========== Parameter Part End ==========
========== Function Part Begin ==========
nCharacterCount = 8;
nFrameCount = 3;
nSpeed = 3;
nRotationSpeed = 10;
nScaleSpeed = 10;
nInterval = 40;
bMode = 0;
nCharacter_x = new Array(nCharacterCount);
nCharacter_y = new Array(nCharacterCount);
nCharacter_width = new Array(nCharacterCount);
nCharacter_height = new Array(nCharacterCount);
nIsRun = new Array(nCharacterCount);
nWhoRun = 1;
bkInterval = nInterval;
nOriginalSizeX = new Array(nCharacterCount);
nOriginalSizeY = new Array(nCharacterCount);
for (i = 1; nCharacterCount >= i; i++)
{
this["c" + i]._alpha = 100;
this["c" + i]._rotation = 0;
//this["c" + i]._xscale = 100;
//this["c" + i]._yscale = 100;
nOriginalSizeX[i - 1] = this["c" + i ]._xscale;
nOriginalSizeY[i - 1] = this["c" + i ]._yscale;
nCharacter_x[i - 1] = this["c" + i]._x;
nCharacter_y[i - 1] = this["c" + i]._y;
nCharacter_width[i - 1] = this["c" + i]._width;
nCharacter_height[i - 1] = this["c" + i]._height;
nIsRun[i - 1] = true;
}
function fun()
{
for (i = 1; nCharacterCount >= i && nWhoRun >= i; i++)